main: main.o phonebook2.o
	g++ main.o phonebook2.o -o main.out -Wall
	
main.o: main.cpp phonebook2.h
	g++ -c main.cpp -Wall
	
phonebook2.o: phonebook2.cpp phonebook2.h
	g++ -c phonebook2.cpp -Wall